<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <title>[[${sysName}]]</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/main/animate.min.css" th:href="@{/css/main/animate.min.css}" rel="stylesheet"/>
    <link href="../static/css/main/style.min862f.css" th:href="@{/css/main/style.min862f.css}" rel="stylesheet"/>

</head>

<body class="gray-bg">
    <div class="row  border-bottom white-bg dashboard-header">
      <h1 style="text-align: center">[[${sysName}]]</h1>
        <h4 style="float: right;margin-right: 20px;color: #9d9d9d">新闻总数：[[${noticetable.total}]]</h4>
    </div>

    <iframe class="RuoYi_iframe" name="iframe0" width="100%" height="100%"
            th:src="@{/system/main/notice}" frameborder="0" seamless></iframe>

<!--    <div style="margin:10px 10px 10px 10px;border: #f9f9f9;background-color: #ffffff;border-radius: 4px">-->
<!--        <div style="padding: 5px 5px 5px 5px;margin-left: 20px;margin-right: 20px;display: block;-->
<!--        border-bottom: #f4f5f7 2px solid;font-size: 15px;"-->
<!--             th:each="notice:${noticetable.rows}">-->
<!--            <a style="height: 20px;line-height: 20px;color: #8B91A0" th:value="${notice.id}" th:text="${notice.title}"-->
<!--               th:href="@{'notice/'+${notice.id}}" id="title"></a>-->
<!--            <a style="height: 20px;line-height: 20px;float: right;color: #9d9d9d;font-size: 10px;margin-top: 8px"-->
<!--               th:text="${#dates.format(notice.createTime,'yyyy-MM-dd HH:mm:ss')}"></a>-->
<!--        </div>-->
<!--    </div>-->
<div id="toast"></div>
    <script th:src="@{/js/jquery.min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
    <script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
    <script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=4.4.0}"></script>
    <script type="text/javascript">

        // var prefix = ctx + "system/notice";
        // $('#title').click(function () {
        //     alert("hello");
        //     let val = $(this).val();
        //     $.operate.edit(val);
        // });


        $(function (){
            let danhao = [[${baoxiutixing}]];
            if (danhao!=0){
                $.modal.msg("您有新的单号："+danhao);
            }


        });
	    $('#pay-qrcode').click(function(){
	        var html=$(this).html();
	        parent.layer.open({
	            title: false,
	            type: 1,
	            closeBtn:false,
	            shadeClose:true,
	            area: ['600px', '360px'],
	            content: html
	        });
	    });

    </script>
</body>
</html>
